package libcore.scope

import androidx.lifecycle.LifecycleOwner
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers

class ActionScope(
    lifecycleOwner: LifecycleOwner? = null,
    dispatcher: CoroutineDispatcher = Dispatchers.Main
) : AndroidScope(lifecycleOwner, dispatcher) {


    override fun launch(block: suspend CoroutineScope.() -> Unit): ActionScope {
        super.launch(block)
        return this
    }

}